package oh.june.kwon.soapClient;

import java.util.Vector;

import org.ksoap2.serialization.SoapObject;

public class SoapDataTable {
	
	Vector _list;
	public SoapDataTable()
	{
		_list = new Vector();
	}
	
	public void add(SoapObject row)
	{
		_list.addElement(row);
	}
	
	public SoapDataRow get(int index){
		SoapObject soapObject = (SoapObject)_list.elementAt(index);
		return new SoapDataRow(soapObject);
	}
	
	public int getCount(){
		return _list.size();
	}
	
}
